package org.display.graphic
{
	import flash.utils.*
	import flash.geom.*

	public class Bt extends ShapeBase
	{
		public function Bt()
		{
			super()
			redraw(50,20)
			
			
			setTimeout(function(){var rec:Rectangle=getBounds(parent)
				hitRec.x=rec.width-10
				hitRec.y=rec.height-10
			},100)
		}
		
		public override function redraw(w:Number,h:Number){
			
			graphics.clear()
			graphics.lineStyle(linethick,linecolor,linealpha)
			graphics.beginFill(0x999999,fillalpha)
			graphics.drawEllipse(0,0,w,h)
			graphics.endFill()
	
		}
	}
}